<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>珠海市香洲区后勤信息管理系统登录</title>
<load href='__PUBLIC__/Css/style.css' />
<load href="__PUBLIC__/Js/Base.js" />
<load href="__PUBLIC__/Js/prototype.js" />
<load href="__PUBLIC__/Js/mootools.js" />
<load href="__PUBLIC__/Js/Ajax/ThinkAjax.js" />
<load href="__PUBLIC__/Js/Form/CheckForm.js" />
<load href="__PUBLIC__/Js/common.js" />
 <script language="JavaScript">
<!--
var PUBLIC	 =	 '__PUBLIC__';
ThinkAjax.image = [	 '__PUBLIC__/Images/loading2.gif', '__PUBLIC__/Images/ok.gif','__PUBLIC__/Images/update.gif' ]
ThinkAjax.updateTip	=	'登录中～';
function loginHandle(data,status){
	if (status==1){
		$('result').innerHTML	=	'<span style="color:blue"><img SRC="__PUBLIC__/Images/ok.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="" align="absmiddle" > 登录成功！3 秒后跳转～</span>';
		$('form1').reset();
		window.location = '__URL__';
	}
}
function keydown(e){
	var e = e || event;
	if (e.keyCode==13)
	{
	ThinkAjax.sendForm('form1','__URL__/checkLogin/',loginHandle,'result');
	}
}
function fleshVerify(type){ 
//重载验证码
var timenow = new Date().getTime();
if (type)
{
$('verifyImg').src= '__URL__/verify/adv/1/'+timenow;
}else{
$('verifyImg').src= '__URL__/verify/'+timenow;
}

}
//-->
</script>
<style type="text/css">
body {
	background-color: #135a86;
	background-image: url(__PUBLIC__/Images/login_bg.png);
	background-repeat: repeat-x;
}
#loginTb table td{ height:30px; color:#135a86;}
#bottomtd{
	color:#FFF;
	font-weight: bold; height:32px;
}
#versiontd{
	color:#fff;
	font-weight:bold;
	font-size:60px; font-family:"黑体"; vertical-align:top; text-align:right;
}
#vertd{ 
	color:#fff; font-weight:bold;font-size:24px; font-family:"黑体"; 
	vertical-align:top; text-align:left;
	padding-top:10px;
}
.whiteLine{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;	
}
</style>
</head>
<body onLoad="document.login.account.focus()" >
<form method='post' name="login" id="form1" >
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr>
    <td width="55%" height="130"><table width="50%" border="0" cellspacing="0" cellpadding="2">
      <tr>
        <td id="versiontd">{$Think.config.version}</td>
        <td id="vertd">{$Think.config.ver2}</td>
      </tr>
    </table></td>
    <td width="45%">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" class="whiteLine">&nbsp;</td>
  </tr>
  <tr>
    <td><img src="__PUBLIC__/Images/login_logo.gif" width="460" height="211" /></td>
    <td>
    <table width="90%" border="0" cellspacing="0" cellpadding="2" id="loginTb">
      <tr>
        <td width="20%">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2"><div id="result" class="result none"></div></td>
        </tr>
      <tr>
        <td width="20%" align="right">用户名：</td>
        <td width="65%"><input type="text" class="medium bLeftRequire" check="Require" warning="请输入帐号" name="account" /></td>
      </tr>
      <tr>
        <td width="20%" align="right">密码：</td>
        <td><input type="password" class="medium bLeftRequire" check="Require" warning="请输入密码" name="password" /></td>
      </tr>
      <tr>
        <td width="20%" align="right"><span class="tRight">验证码：</span></td>
        <td><input type="text" onkeydown="keydown(event)" class="small bLeftRequire" check="Require" warning="请输入验证码" name="verify" />
          <img id="verifyImg" src="__URL__/verify/" onclick="fleshVerify()" border="0" alt="点击刷新验证码" style="cursor:pointer" align="absmiddle" /></td>
      </tr>
      <tr>
        <td width="20%">&nbsp;</td>
        <td><span class="tCenter">
          <input type="hidden" name="ajax" value="1" />
          <input type="button" value="登 录" onclick="ThinkAjax.sendForm('form1','__URL__/checkLogin/',loginHandle,'result')" class="submit medium hMargin" />
          </span></td>
      </tr>
      </table>
    
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center" id="bottomtd">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center" id="bottomtd">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center" id="bottomtd">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center" id="bottomtd3">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center" class="whiteLine" id="bottomtd2">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="center" id="bottomtd">版权所有：珠海市香洲区教育局 2012年7月</td>
  </tr>
</table></form>
</body>
</html>